PulseCanvas / app · pulsecanvas.ai / Sources / PulseCanvas / Resources / ProjectM / Presets / Particles / Points Trails / EVET - Firefly Dances.milk
| 1 | MILKDROP_PRESET_VERSION=201 |
| 2 | PSVERSION=2 |
| 3 | PSVERSION_WARP=0 |
| 4 | PSVERSION_COMP=2 |
| 5 | [preset00] |
| 6 | fRating=5.000000 |
| 7 | fGammaAdj=2.000 |
| 8 | fDecay=0.925 |
| 9 | fVideoEchoZoom=2.000 |
| 10 | fVideoEchoAlpha=0.000 |
| 11 | nVideoEchoOrientation=0 |
| 12 | nWaveMode=1 |
| 13 | bAdditiveWaves=1 |
| 14 | bWaveDots=1 |
| 15 | bWaveThick=1 |
| 16 | bModWaveAlphaByVolume=0 |
| 17 | bMaximizeWaveColor=0 |
| 18 | bTexWrap=1 |
| 19 | bDarkenCenter=0 |
| 20 | bRedBlueStereo=0 |
| 21 | bBrighten=0 |
| 22 | bDarken=0 |
| 23 | bSolarize=0 |
| 24 | bInvert=0 |
| 25 | fWaveAlpha=0.001 |
| 26 | fWaveScale=4.120 |
| 27 | fWaveSmoothing=0.630 |
| 28 | fWaveParam=0.200 |
| 29 | fModWaveAlphaStart=0.310 |
| 30 | fModWaveAlphaEnd=1.100 |
| 31 | fWarpAnimSpeed=0.162 |
| 32 | fWarpScale=5.582 |
| 33 | fZoomExponent=0.32104 |
| 34 | fShader=0.000 |
| 35 | zoom=0.99010 |
| 36 | rot=0.00000 |
| 37 | cx=0.500 |
| 38 | cy=0.500 |
| 39 | dx=0.00000 |
| 40 | dy=0.00000 |
| 41 | warp=0.11563 |
| 42 | sx=1.00000 |
| 43 | sy=1.00000 |
| 44 | wave_r=0.650 |
| 45 | wave_g=0.650 |
| 46 | wave_b=0.650 |
| 47 | wave_x=0.500 |
| 48 | wave_y=0.500 |
| 49 | ob_size=0.000 |
| 50 | ob_r=0.000 |
| 51 | ob_g=0.000 |
| 52 | ob_b=0.000 |
| 53 | ob_a=0.000 |
| 54 | ib_size=0.000 |
| 55 | ib_r=0.000 |
| 56 | ib_g=0.000 |
| 57 | ib_b=0.000 |
| 58 | ib_a=1.000 |
| 59 | nMotionVectorsX=32.000 |
| 60 | nMotionVectorsY=24.000 |
| 61 | mv_dx=0.020 |
| 62 | mv_dy=0.000 |
| 63 | mv_l=0.000 |
| 64 | mv_r=1.000 |
| 65 | mv_g=0.000 |
| 66 | mv_b=0.800 |
| 67 | mv_a=1.000 |
| 68 | b1n=0.000 |
| 69 | b2n=0.000 |
| 70 | b3n=0.000 |
| 71 | b1x=1.000 |
| 72 | b2x=1.000 |
| 73 | b3x=1.000 |
| 74 | b1ed=0.250 |
| 75 | wavecode_0_enabled=1 |
| 76 | wavecode_0_samples=512 |
| 77 | wavecode_0_sep=0 |
| 78 | wavecode_0_bSpectrum=0 |
| 79 | wavecode_0_bUseDots=1 |
| 80 | wavecode_0_bDrawThick=1 |
| 81 | wavecode_0_bAdditive=0 |
| 82 | wavecode_0_scaling=1.00000 |
| 83 | wavecode_0_smoothing=0.50000 |
| 84 | wavecode_0_r=0.000 |
| 85 | wavecode_0_g=0.500 |
| 86 | wavecode_0_b=1.000 |
| 87 | wavecode_0_a=1.000 |
| 88 | wave_0_per_point1=tscale=.3; |
| 89 | wave_0_per_point2=prad=.04; |
| 90 | wave_0_per_point3= |
| 91 | wave_0_per_point4=px=cos(sample*sample*9112)*prad; |
| 92 | wave_0_per_point5=py=sin(sample*sample*9112)*prad; |
| 93 | wave_0_per_point6=pz=0; |
| 94 | wave_0_per_point7=//yrot to sphere surface |
| 95 | wave_0_per_point8=theta=sample*sample*3342; |
| 96 | wave_0_per_point9=npx=(px*cos(theta))+(pz*sin(theta)); |
| 97 | wave_0_per_point10=npz=(-px*sin(theta))+(pz*cos(theta)); |
| 98 | wave_0_per_point11=npy=py; |
| 99 | wave_0_per_point12= |
| 100 | wave_0_per_point13=//xrot |
| 101 | wave_0_per_point14=theta=q6; |
| 102 | wave_0_per_point15=px=npx; |
| 103 | wave_0_per_point16=py=npy; |
| 104 | wave_0_per_point17=pz=npz; |
| 105 | wave_0_per_point18=npy=(py*cos(theta))+(pz*-sin(theta)); |
| 106 | wave_0_per_point19=npz=(py*sin(theta))+(pz*cos(theta)); |
| 107 | wave_0_per_point20= |
| 108 | wave_0_per_point21=//yrot |
| 109 | wave_0_per_point22=theta=q7; |
| 110 | wave_0_per_point23=px=npx; |
| 111 | wave_0_per_point24=py=npy; |
| 112 | wave_0_per_point25=pz=npz; |
| 113 | wave_0_per_point26=npx=(px*cos(theta))+(pz*sin(theta)); |
| 114 | wave_0_per_point27=npz=(-px*sin(theta))+(pz*cos(theta)); |
| 115 | wave_0_per_point28= |
| 116 | wave_0_per_point29=//zrot |
| 117 | wave_0_per_point30=theta=q8+2; |
| 118 | wave_0_per_point31=px=npx; |
| 119 | wave_0_per_point32=py=npy; |
| 120 | wave_0_per_point33=pz=npz; |
| 121 | wave_0_per_point34=npx=(px*cos(theta))+(py*-sin(theta)); |
| 122 | wave_0_per_point35=npy=(px*sin(theta))+(py*cos(theta)); |
| 123 | wave_0_per_point36= |
| 124 | wave_0_per_point37=x=npx+.5; |
| 125 | wave_0_per_point38=y=(npy*1.3)+.5; //correct aspect |
| 126 | wave_0_per_point39=a=if(below(npz,0),0,1); |
| 127 | wave_0_per_point40= |
| 128 | wave_0_per_point41= |
| 129 | wave_0_per_point42=//sun shadow |
| 130 | wave_0_per_point43=prad=1.1; |
| 131 | wave_0_per_point44= |
| 132 | wave_0_per_point45=s_px=cos(8886)*prad; |
| 133 | wave_0_per_point46=s_py=sin(8886)*prad; |
| 134 | wave_0_per_point47=s_pz=0; |
| 135 | wave_0_per_point48=//yrot to sphere surface |
| 136 | wave_0_per_point49=s_npx=(s_px*cos(0))+(s_pz*sin(0)); |
| 137 | wave_0_per_point50=s_npz=(-s_px*sin(0))+(s_pz*cos(0)); |
| 138 | wave_0_per_point51=s_npy=s_py; |
| 139 | wave_0_per_point52= |
| 140 | wave_0_per_point53=//xrot |
| 141 | wave_0_per_point54=theta=q6; |
| 142 | wave_0_per_point55=s_px=s_npx; |
| 143 | wave_0_per_point56=s_py=s_npy; |
| 144 | wave_0_per_point57=s_pz=s_npz; |
| 145 | wave_0_per_point58=s_npy=(s_py*cos(theta))+(s_pz*-sin(theta)); |
| 146 | wave_0_per_point59=s_npz=(s_py*sin(theta))+(s_pz*cos(theta)); |
| 147 | wave_0_per_point60= |
| 148 | wave_0_per_point61=//yrot |
| 149 | wave_0_per_point62=theta=q7; |
| 150 | wave_0_per_point63=s_px=s_npx; |
| 151 | wave_0_per_point64=s_py=s_npy; |
| 152 | wave_0_per_point65=s_pz=s_npz; |
| 153 | wave_0_per_point66=s_npx=(s_px*cos(theta))+(s_pz*sin(theta)); |
| 154 | wave_0_per_point67=s_npz=(-s_px*sin(theta))+(s_pz*cos(theta)); |
| 155 | wave_0_per_point68= |
| 156 | wave_0_per_point69=//zrot |
| 157 | wave_0_per_point70=theta=q8; |
| 158 | wave_0_per_point71=s_px=s_npx; |
| 159 | wave_0_per_point72=s_py=s_npy; |
| 160 | wave_0_per_point73=s_pz=s_npz; |
| 161 | wave_0_per_point74=s_npx=(s_px*cos(theta))+(s_py*-sin(theta)); |
| 162 | wave_0_per_point75=s_npy=(s_px*sin(theta))+(s_py*cos(theta)); |
| 163 | wave_0_per_point76= |
| 164 | wave_0_per_point77=s_x=s_npx+.5; |
| 165 | wave_0_per_point78=s_y=(s_npy*1.3)+.5; |
| 166 | wave_0_per_point79= |
| 167 | wave_0_per_point80=d=sqrt((s_npy*s_npy)+(s_npx*s_npx)); |
| 168 | wave_0_per_point81=r=if(above(s_npz,0),r*(1-(.2*d)),r*d*.6); |
| 169 | wave_0_per_point82=g=if(above(s_npz,0),g*(1-(.2*d)),g*d*.6); |
| 170 | wave_0_per_point83=b=if(above(s_npz,0),b*(1-(.2*d)),b*d*.6); |
| 171 | wavecode_1_enabled=1 |
| 172 | wavecode_1_samples=512 |
| 173 | wavecode_1_sep=0 |
| 174 | wavecode_1_bSpectrum=0 |
| 175 | wavecode_1_bUseDots=1 |
| 176 | wavecode_1_bDrawThick=1 |
| 177 | wavecode_1_bAdditive=0 |
| 178 | wavecode_1_scaling=1.00000 |
| 179 | wavecode_1_smoothing=0.50000 |
| 180 | wavecode_1_r=0.000 |
| 181 | wavecode_1_g=0.500 |
| 182 | wavecode_1_b=1.000 |
| 183 | wavecode_1_a=1.000 |
| 184 | wave_1_per_point1=tscale=.3; |
| 185 | wave_1_per_point2=prad=.04; |
| 186 | wave_1_per_point3= |
| 187 | wave_1_per_point4=px=cos(sample*sample*6664)*prad; |
| 188 | wave_1_per_point5=py=sin(sample*sample*6664)*prad; |
| 189 | wave_1_per_point6=pz=0; |
| 190 | wave_1_per_point7=//yrot to sphere surface |
| 191 | wave_1_per_point8=theta=sample*sample*122; |
| 192 | wave_1_per_point9=npx=(px*cos(theta))+(pz*sin(theta)); |
| 193 | wave_1_per_point10=npz=(-px*sin(theta))+(pz*cos(theta)); |
| 194 | wave_1_per_point11=npy=py; |
| 195 | wave_1_per_point12= |
| 196 | wave_1_per_point13=//xrot |
| 197 | wave_1_per_point14=theta=q6; |
| 198 | wave_1_per_point15=px=npx; |
| 199 | wave_1_per_point16=py=npy; |
| 200 | wave_1_per_point17=pz=npz; |
| 201 | wave_1_per_point18=npy=(py*cos(theta))+(pz*-sin(theta)); |
| 202 | wave_1_per_point19=npz=(py*sin(theta))+(pz*cos(theta)); |
| 203 | wave_1_per_point20= |
| 204 | wave_1_per_point21=//yrot |
| 205 | wave_1_per_point22=theta=q7; |
| 206 | wave_1_per_point23=px=npx; |
| 207 | wave_1_per_point24=py=npy; |
| 208 | wave_1_per_point25=pz=npz; |
| 209 | wave_1_per_point26=npx=(px*cos(theta))+(pz*sin(theta)); |
| 210 | wave_1_per_point27=npz=(-px*sin(theta))+(pz*cos(theta)); |
| 211 | wave_1_per_point28= |
| 212 | wave_1_per_point29=//zrot |
| 213 | wave_1_per_point30=theta=q8+2; |
| 214 | wave_1_per_point31=px=npx; |
| 215 | wave_1_per_point32=py=npy; |
| 216 | wave_1_per_point33=pz=npz; |
| 217 | wave_1_per_point34=npx=(px*cos(theta))+(py*-sin(theta)); |
| 218 | wave_1_per_point35=npy=(px*sin(theta))+(py*cos(theta)); |
| 219 | wave_1_per_point36= |
| 220 | wave_1_per_point37=x=npx+.5; |
| 221 | wave_1_per_point38=y=(npy*1.3)+.5; //correct aspect |
| 222 | wave_1_per_point39=a=if(below(npz,0),0,1); |
| 223 | wave_1_per_point40= |
| 224 | wave_1_per_point41= |
| 225 | wave_1_per_point42=//sun shadow |
| 226 | wave_1_per_point43=prad=1.1; |
| 227 | wave_1_per_point44= |
| 228 | wave_1_per_point45=s_px=cos(8886)*prad; |
| 229 | wave_1_per_point46=s_py=sin(8886)*prad; |
| 230 | wave_1_per_point47=s_pz=0; |
| 231 | wave_1_per_point48=//yrot to sphere surface |
| 232 | wave_1_per_point49=s_npx=(s_px*cos(0))+(s_pz*sin(0)); |
| 233 | wave_1_per_point50=s_npz=(-s_px*sin(0))+(s_pz*cos(0)); |
| 234 | wave_1_per_point51=s_npy=s_py; |
| 235 | wave_1_per_point52= |
| 236 | wave_1_per_point53=//xrot |
| 237 | wave_1_per_point54=theta=q6; |
| 238 | wave_1_per_point55=s_px=s_npx; |
| 239 | wave_1_per_point56=s_py=s_npy; |
| 240 | wave_1_per_point57=s_pz=s_npz; |
| 241 | wave_1_per_point58=s_npy=(s_py*cos(theta))+(s_pz*-sin(theta)); |
| 242 | wave_1_per_point59=s_npz=(s_py*sin(theta))+(s_pz*cos(theta)); |
| 243 | wave_1_per_point60= |
| 244 | wave_1_per_point61=//yrot |
| 245 | wave_1_per_point62=theta=q7; |
| 246 | wave_1_per_point63=s_px=s_npx; |
| 247 | wave_1_per_point64=s_py=s_npy; |
| 248 | wave_1_per_point65=s_pz=s_npz; |
| 249 | wave_1_per_point66=s_npx=(s_px*cos(theta))+(s_pz*sin(theta)); |
| 250 | wave_1_per_point67=s_npz=(-s_px*sin(theta))+(s_pz*cos(theta)); |
| 251 | wave_1_per_point68= |
| 252 | wave_1_per_point69=//zrot |
| 253 | wave_1_per_point70=theta=q8; |
| 254 | wave_1_per_point71=s_px=s_npx; |
| 255 | wave_1_per_point72=s_py=s_npy; |
| 256 | wave_1_per_point73=s_pz=s_npz; |
| 257 | wave_1_per_point74=s_npx=(s_px*cos(theta))+(s_py*-sin(theta)); |
| 258 | wave_1_per_point75=s_npy=(s_px*sin(theta))+(s_py*cos(theta)); |
| 259 | wave_1_per_point76= |
| 260 | wave_1_per_point77=s_x=s_npx+.5; |
| 261 | wave_1_per_point78=s_y=(s_npy*1.3)+.5; |
| 262 | wave_1_per_point79= |
| 263 | wave_1_per_point80=d=sqrt((s_npy*s_npy)+(s_npx*s_npx)); |
| 264 | wave_1_per_point81=r=if(above(s_npz,0),r*(1-(.2*d)),r*d*.6); |
| 265 | wave_1_per_point82=g=if(above(s_npz,0),g*(1-(.2*d)),g*d*.6); |
| 266 | wave_1_per_point83=b=if(above(s_npz,0),b*(1-(.2*d)),b*d*.6); |
| 267 | wavecode_2_enabled=1 |
| 268 | wavecode_2_samples=512 |
| 269 | wavecode_2_sep=0 |
| 270 | wavecode_2_bSpectrum=0 |
| 271 | wavecode_2_bUseDots=1 |
| 272 | wavecode_2_bDrawThick=1 |
| 273 | wavecode_2_bAdditive=0 |
| 274 | wavecode_2_scaling=1.00000 |
| 275 | wavecode_2_smoothing=0.50000 |
| 276 | wavecode_2_r=1.000 |
| 277 | wavecode_2_g=0.400 |
| 278 | wavecode_2_b=0.000 |
| 279 | wavecode_2_a=1.000 |
| 280 | wave_2_per_point1=//planet rings |
| 281 | wave_2_per_point2=tscale=.3; |
| 282 | wave_2_per_point3= |
| 283 | wave_2_per_point4=prad=(((sample*sample*4999)%65)*.001)+.1; |
| 284 | wave_2_per_point5=px=cos(sample*sample*8854)*prad; |
| 285 | wave_2_per_point6=py=((sample*sample*1122)%10)*.0002; |
| 286 | wave_2_per_point7=pz=sin(sample*sample*8854)*prad; |
| 287 | wave_2_per_point8= |
| 288 | wave_2_per_point9=npx=px; |
| 289 | wave_2_per_point10=npy=py; |
| 290 | wave_2_per_point11=npz=pz; |
| 291 | wave_2_per_point12= |
| 292 | wave_2_per_point13=//yrot - particles |
| 293 | wave_2_per_point14=theta=((.4-prad)*(.4-prad)*30*time*tscale); |
| 294 | wave_2_per_point15=px=npx; |
| 295 | wave_2_per_point16=py=npy; |
| 296 | wave_2_per_point17=pz=npz; |
| 297 | wave_2_per_point18=npx=(px*cos(theta))+(pz*sin(theta)); |
| 298 | wave_2_per_point19=npz=(-px*sin(theta))+(pz*cos(theta)); |
| 299 | wave_2_per_point20= |
| 300 | wave_2_per_point21=//xrot |
| 301 | wave_2_per_point22=theta=q6; |
| 302 | wave_2_per_point23=px=npx; |
| 303 | wave_2_per_point24=py=npy; |
| 304 | wave_2_per_point25=pz=npz; |
| 305 | wave_2_per_point26=npy=(py*cos(theta))+(pz*-sin(theta)); |
| 306 | wave_2_per_point27=npz=(py*sin(theta))+(pz*cos(theta)); |
| 307 | wave_2_per_point28= |
| 308 | wave_2_per_point29=//yrot |
| 309 | wave_2_per_point30=theta=q7; |
| 310 | wave_2_per_point31=px=npx; |
| 311 | wave_2_per_point32=py=npy; |
| 312 | wave_2_per_point33=pz=npz; |
| 313 | wave_2_per_point34=npx=(px*cos(theta))+(pz*sin(theta)); |
| 314 | wave_2_per_point35=npz=(-px*sin(theta))+(pz*cos(theta)); |
| 315 | wave_2_per_point36= |
| 316 | wave_2_per_point37=//zrot |
| 317 | wave_2_per_point38=theta=q8+2; |
| 318 | wave_2_per_point39=px=npx; |
| 319 | wave_2_per_point40=py=npy; |
| 320 | wave_2_per_point41=pz=npz; |
| 321 | wave_2_per_point42=npx=(px*cos(theta))+(py*-sin(theta)); |
| 322 | wave_2_per_point43=npy=(px*sin(theta))+(py*cos(theta)); |
| 323 | wave_2_per_point44= |
| 324 | wave_2_per_point45=a=if(below(npz,0),if(below(sqrt((npy*npy)+(npx*npx)),.04),0,.4),.4); |
| 325 | wave_2_per_point46=x=npx+.5; |
| 326 | wave_2_per_point47=y=(npy*1.3)+.5; //correct aspect |
| 327 | wave_2_per_point48=g=.5+((sample*sample*4444)%100)*.005; |
| 328 | wave_2_per_point49= |
| 329 | wave_2_per_point50=//sun shadow |
| 330 | wave_2_per_point51=prad=1.1; |
| 331 | wave_2_per_point52= |
| 332 | wave_2_per_point53=s_px=cos(8886)*prad; |
| 333 | wave_2_per_point54=s_py=sin(8886)*prad; |
| 334 | wave_2_per_point55=s_pz=0; |
| 335 | wave_2_per_point56=//yrot to sphere surface |
| 336 | wave_2_per_point57=s_npx=(s_px*cos(0))+(s_pz*sin(0)); |
| 337 | wave_2_per_point58=s_npz=(-s_px*sin(0))+(s_pz*cos(0)); |
| 338 | wave_2_per_point59=s_npy=s_py; |
| 339 | wave_2_per_point60= |
| 340 | wave_2_per_point61=//xrot |
| 341 | wave_2_per_point62=theta=q6; |
| 342 | wave_2_per_point63=s_px=s_npx; |
| 343 | wave_2_per_point64=s_py=s_npy; |
| 344 | wave_2_per_point65=s_pz=s_npz; |
| 345 | wave_2_per_point66=s_npy=(s_py*cos(theta))+(s_pz*-sin(theta)); |
| 346 | wave_2_per_point67=s_npz=(s_py*sin(theta))+(s_pz*cos(theta)); |
| 347 | wave_2_per_point68= |
| 348 | wave_2_per_point69=//yrot |
| 349 | wave_2_per_point70=theta=q7; |
| 350 | wave_2_per_point71=s_px=s_npx; |
| 351 | wave_2_per_point72=s_py=s_npy; |
| 352 | wave_2_per_point73=s_pz=s_npz; |
| 353 | wave_2_per_point74=s_npx=(s_px*cos(theta))+(s_pz*sin(theta)); |
| 354 | wave_2_per_point75=s_npz=(-s_px*sin(theta))+(s_pz*cos(theta)); |
| 355 | wave_2_per_point76= |
| 356 | wave_2_per_point77=//zrot |
| 357 | wave_2_per_point78=theta=q8; |
| 358 | wave_2_per_point79=s_px=s_npx; |
| 359 | wave_2_per_point80=s_py=s_npy; |
| 360 | wave_2_per_point81=s_pz=s_npz; |
| 361 | wave_2_per_point82=s_npx=(s_px*cos(theta))+(s_py*-sin(theta)); |
| 362 | wave_2_per_point83=s_npy=(s_px*sin(theta))+(s_py*cos(theta)); |
| 363 | wave_2_per_point84= |
| 364 | wave_2_per_point85=s_x=s_npx+.5; |
| 365 | wave_2_per_point86=s_y=(s_npy*1.3)+.5; |
| 366 | wave_2_per_point87= |
| 367 | wave_2_per_point88=//ring lighting |
| 368 | wave_2_per_point89=d=sqrt((s_npy*s_npy)+(s_npx*s_npx)); |
| 369 | wave_2_per_point90=r=if(above(s_npz,0),r*(1-(.2*d)),r*d*.6); |
| 370 | wave_2_per_point91=g=if(above(s_npz,0),g*(1-(.2*d)),g*d*.6); |
| 371 | wave_2_per_point92=b=if(above(s_npz,0),b*(1-(.2*d)),b*d*.6); |
| 372 | wave_2_per_point93= |
| 373 | wave_2_per_point94=//planet shadow across rings |
| 374 | wave_2_per_point95=s_npx=-1*s_npx*.1; |
| 375 | wave_2_per_point96=s_npy=-1*s_npy*.1; |
| 376 | wave_2_per_point97=s_npz=-1*s_npz*.1; |
| 377 | wave_2_per_point98= |
| 378 | wave_2_per_point99=ss_rad=.087; |
| 379 | wave_2_per_point100=ss=sqrt(sqr((npx-s_npx)*1)+sqr((npy-s_npy)*1)+sqr((npz-s_npz)*1)); |
| 380 | wave_2_per_point101=r=if(below(ss,ss_rad),r*.2,r); |
| 381 | wave_2_per_point102=g=if(below(ss,ss_rad),g*.2,g); |
| 382 | wave_2_per_point103=b=if(below(ss,ss_rad),b*.2,b); |
| 383 | wavecode_3_enabled=1 |
| 384 | wavecode_3_samples=512 |
| 385 | wavecode_3_sep=0 |
| 386 | wavecode_3_bSpectrum=0 |
| 387 | wavecode_3_bUseDots=1 |
| 388 | wavecode_3_bDrawThick=1 |
| 389 | wavecode_3_bAdditive=0 |
| 390 | wavecode_3_scaling=1.00000 |
| 391 | wavecode_3_smoothing=0.50000 |
| 392 | wavecode_3_r=1.000 |
| 393 | wavecode_3_g=1.000 |
| 394 | wavecode_3_b=1.000 |
| 395 | wavecode_3_a=1.000 |
| 396 | wave_3_per_point1=prad=1; |
| 397 | wave_3_per_point2= |
| 398 | wave_3_per_point3=//cluster=sample + cos(sample*6.283*6)*0.1; |
| 399 | wave_3_per_point4=cluster=sample + cos(sample*sample*2223); |
| 400 | wave_3_per_point5= |
| 401 | wave_3_per_point6=px=cos(cluster*16)*prad; |
| 402 | wave_3_per_point7=py=sin(cluster*16)*prad; |
| 403 | wave_3_per_point8=pz=0; |
| 404 | wave_3_per_point9=//yrot to sphere surface |
| 405 | wave_3_per_point10=theta=cluster*172 ; |
| 406 | wave_3_per_point11=ct=cos(theta);st=sin(theta); |
| 407 | wave_3_per_point12=npx=(px*ct)+(pz*st); |
| 408 | wave_3_per_point13=npz=(-px*st)+(pz*ct); |
| 409 | wave_3_per_point14=npy=py; |
| 410 | wave_3_per_point15= |
| 411 | wave_3_per_point16=//xrot |
| 412 | wave_3_per_point17=theta=-q6; |
| 413 | wave_3_per_point18=px=npx; |
| 414 | wave_3_per_point19=py=npy; |
| 415 | wave_3_per_point20=pz=npz; |
| 416 | wave_3_per_point21=ct=cos(theta);st=sin(theta); |
| 417 | wave_3_per_point22=npy=(py*ct)+(pz*-st); |
| 418 | wave_3_per_point23=npz=(py*st)+(pz*ct); |
| 419 | wave_3_per_point24= |
| 420 | wave_3_per_point25=//yrot |
| 421 | wave_3_per_point26=theta=-q7; |
| 422 | wave_3_per_point27=px=npx; |
| 423 | wave_3_per_point28=py=npy; |
| 424 | wave_3_per_point29=pz=npz; |
| 425 | wave_3_per_point30=ct=cos(theta);st=sin(theta); |
| 426 | wave_3_per_point31=npx=(px*ct)+(pz*st); |
| 427 | wave_3_per_point32=npz=(-px*st)+(pz*ct); |
| 428 | wave_3_per_point33= |
| 429 | wave_3_per_point34=//zrot |
| 430 | wave_3_per_point35=theta=q8; |
| 431 | wave_3_per_point36=px=npx; |
| 432 | wave_3_per_point37=py=npy; |
| 433 | wave_3_per_point38=pz=npz; |
| 434 | wave_3_per_point39=ct=cos(theta);st=sin(theta); |
| 435 | wave_3_per_point40=npx=(px*ct)+(py*-st); |
| 436 | wave_3_per_point41=npy=(px*st)+(py*ct); |
| 437 | wave_3_per_point42=npz=pz; |
| 438 | wave_3_per_point43= |
| 439 | wave_3_per_point44=npx=if(below(npz,0) , -npx , npx); |
| 440 | wave_3_per_point45=npy=if(below(npz,0) , -npy , npy); |
| 441 | wave_3_per_point46=npz=if(below(npz,0) , -npz , npz); |
| 442 | wave_3_per_point47= |
| 443 | wave_3_per_point48=//move into screenspace |
| 444 | wave_3_per_point49=npz=(npz * (1 + t1))+1.5; |
| 445 | wave_3_per_point50= |
| 446 | wave_3_per_point51=x=(npx/npz)+.5; |
| 447 | wave_3_per_point52=y=(npy/npz)*1.3+.5; //correct aspect |
| 448 | wave_3_per_point53= |
| 449 | wave_3_per_point54=a=if(below(sqrt(((y-.5)*(y-.5))+((x-.5)*(x-.5))),.048),0,.5); |
| 450 | wave_3_per_point55= |
| 451 | wave_3_per_point56=//y=0.1; |
| 452 | wave_3_per_point57=//x=sample; |
| 453 | wave_3_per_point58= |
| 454 | wave_3_per_point59=sample2=sample; |
| 455 | wave_3_per_point60=r=(sample2*3 - int(sample2*3))*2; |
| 456 | wave_3_per_point61=r=if(above(r,1) , 2-r , r); |
| 457 | wave_3_per_point62=r=1- pow(1-r,2); |
| 458 | wave_3_per_point63=sample2=sample + 0.023; |
| 459 | wave_3_per_point64=g=(sample2*3 - int(sample2*3))*2; |
| 460 | wave_3_per_point65=g=if(above(g,1) , 2-g , g); |
| 461 | wave_3_per_point66=g=1- pow(1-g,2); |
| 462 | wave_3_per_point67=sample2=sample + 0.026; |
| 463 | wave_3_per_point68=b=(sample2*3 - int(sample2*3))*2; |
| 464 | wave_3_per_point69=b=if(above(b,1) , 2-b , b); |
| 465 | wave_3_per_point70=b=1- pow(1-b,2) |
| 466 | shapecode_0_enabled=1 |
| 467 | shapecode_0_sides=100 |
| 468 | shapecode_0_additive=0 |
| 469 | shapecode_0_thickOutline=0 |
| 470 | shapecode_0_textured=1 |
| 471 | shapecode_0_num_inst=1 |
| 472 | shapecode_0_x=0.500 |
| 473 | shapecode_0_y=0.500 |
| 474 | shapecode_0_rad=0.24004 |
| 475 | shapecode_0_ang=0.00000 |
| 476 | shapecode_0_tex_ang=0.00000 |
| 477 | shapecode_0_tex_zoom=4.76928 |
| 478 | shapecode_0_r=0.100 |
| 479 | shapecode_0_g=0.000 |
| 480 | shapecode_0_b=1.000 |
| 481 | shapecode_0_a=1.000 |
| 482 | shapecode_0_r2=0.100 |
| 483 | shapecode_0_g2=0.000 |
| 484 | shapecode_0_b2=0.600 |
| 485 | shapecode_0_a2=0.000 |
| 486 | shapecode_0_border_r=1.000 |
| 487 | shapecode_0_border_g=1.000 |
| 488 | shapecode_0_border_b=1.000 |
| 489 | shapecode_0_border_a=0.000 |
| 490 | shape_0_per_frame1=a2=treb; |
| 491 | shapecode_1_enabled=1 |
| 492 | shapecode_1_sides=100 |
| 493 | shapecode_1_additive=0 |
| 494 | shapecode_1_thickOutline=0 |
| 495 | shapecode_1_textured=1 |
| 496 | shapecode_1_num_inst=1 |
| 497 | shapecode_1_x=0.500 |
| 498 | shapecode_1_y=0.500 |
| 499 | shapecode_1_rad=0.18947 |
| 500 | shapecode_1_ang=0.00000 |
| 501 | shapecode_1_tex_ang=0.00000 |
| 502 | shapecode_1_tex_zoom=6.62307 |
| 503 | shapecode_1_r=1.000 |
| 504 | shapecode_1_g=1.000 |
| 505 | shapecode_1_b=1.000 |
| 506 | shapecode_1_a=1.000 |
| 507 | shapecode_1_r2=1.000 |
| 508 | shapecode_1_g2=1.000 |
| 509 | shapecode_1_b2=1.000 |
| 510 | shapecode_1_a2=1.000 |
| 511 | shapecode_1_border_r=1.000 |
| 512 | shapecode_1_border_g=1.000 |
| 513 | shapecode_1_border_b=1.000 |
| 514 | shapecode_1_border_a=0.000 |
| 515 | shape_1_init1=sma=0; |
| 516 | shape_1_per_frame1=sma=ma+(above(bass,1)*3.1415*.05*bass); |
| 517 | shape_1_per_frame2=ma=ma-(above(mid,1)*3.1415*.05*mid); |
| 518 | shape_1_per_frame3= |
| 519 | shape_1_per_frame4=mx=mx+(.0001*cos(ma))*512; |
| 520 | shape_1_per_frame5=my=my+(.0001*sin(ma))*512; |
| 521 | shape_1_per_frame6= |
| 522 | shape_1_per_frame7=mx=if(above(mx,.9),(.9-mx),mx); |
| 523 | shape_1_per_frame8=my=if(above(my,.9),(.9-my),my); |
| 524 | shape_1_per_frame9=mx=if(below(mx,.1),(.9+mx),mx); |
| 525 | shape_1_per_frame10=my=if(below(my,.1),(.9+my),my); |
| 526 | shape_1_per_frame11= |
| 527 | shape_1_per_frame12=x=mx; |
| 528 | shape_1_per_frame13=y=my; |
| 529 | shape_1_per_frame14= |
| 530 | shape_1_per_frame15=//ang=sin(time*200)*6.28; |
| 531 | shape_1_per_frame16=rad=.1+(((treb+mid+bass)/3)*0.08); |
| 532 | shapecode_2_enabled=0 |
| 533 | shapecode_2_sides=100 |
| 534 | shapecode_2_additive=1 |
| 535 | shapecode_2_thickOutline=0 |
| 536 | shapecode_2_textured=0 |
| 537 | shapecode_2_num_inst=1 |
| 538 | shapecode_2_x=0.500 |
| 539 | shapecode_2_y=0.500 |
| 540 | shapecode_2_rad=0.01842 |
| 541 | shapecode_2_ang=0.00000 |
| 542 | shapecode_2_tex_ang=0.00000 |
| 543 | shapecode_2_tex_zoom=1.00000 |
| 544 | shapecode_2_r=1.000 |
| 545 | shapecode_2_g=1.000 |
| 546 | shapecode_2_b=1.000 |
| 547 | shapecode_2_a=1.000 |
| 548 | shapecode_2_r2=1.000 |
| 549 | shapecode_2_g2=1.000 |
| 550 | shapecode_2_b2=1.000 |
| 551 | shapecode_2_a2=0.000 |
| 552 | shapecode_2_border_r=1.000 |
| 553 | shapecode_2_border_g=1.000 |
| 554 | shapecode_2_border_b=1.000 |
| 555 | shapecode_2_border_a=0.100 |
| 556 | shape_2_per_frame1=//sun body |
| 557 | shape_2_per_frame2= |
| 558 | shape_2_per_frame3=//sun |
| 559 | shape_2_per_frame4=prad=1.1; |
| 560 | shape_2_per_frame5= |
| 561 | shape_2_per_frame6=px=cos(8886)*prad; |
| 562 | shape_2_per_frame7=py=sin(8886)*prad; |
| 563 | shape_2_per_frame8=pz=0; |
| 564 | shape_2_per_frame9=//yrot to sphere surface |
| 565 | shape_2_per_frame10=npx=(px*cos(0))+(pz*sin(0)); |
| 566 | shape_2_per_frame11=npz=(-px*sin(0))+(pz*cos(0)); |
| 567 | shape_2_per_frame12=npy=py; |
| 568 | shape_2_per_frame13= |
| 569 | shape_2_per_frame14=//xrot |
| 570 | shape_2_per_frame15=theta=q6; |
| 571 | shape_2_per_frame16=px=npx; |
| 572 | shape_2_per_frame17=py=npy; |
| 573 | shape_2_per_frame18=pz=npz; |
| 574 | shape_2_per_frame19=npy=(py*cos(theta))+(pz*-sin(theta)); |
| 575 | shape_2_per_frame20=npz=(py*sin(theta))+(pz*cos(theta)); |
| 576 | shape_2_per_frame21= |
| 577 | shape_2_per_frame22=//yrot |
| 578 | shape_2_per_frame23=theta=q7; |
| 579 | shape_2_per_frame24=px=npx; |
| 580 | shape_2_per_frame25=py=npy; |
| 581 | shape_2_per_frame26=pz=npz; |
| 582 | shape_2_per_frame27=npx=(px*cos(theta))+(pz*sin(theta)); |
| 583 | shape_2_per_frame28=npz=(-px*sin(theta))+(pz*cos(theta)); |
| 584 | shape_2_per_frame29= |
| 585 | shape_2_per_frame30=//zrot |
| 586 | shape_2_per_frame31=theta=q8; |
| 587 | shape_2_per_frame32=px=npx; |
| 588 | shape_2_per_frame33=py=npy; |
| 589 | shape_2_per_frame34=pz=npz; |
| 590 | shape_2_per_frame35=npx=(px*cos(theta))+(py*-sin(theta)); |
| 591 | shape_2_per_frame36=npy=(px*sin(theta))+(py*cos(theta)); |
| 592 | shape_2_per_frame37= |
| 593 | shape_2_per_frame38=x=npx+.5; |
| 594 | shape_2_per_frame39=y=(npy*1.3)+.5; |
| 595 | shape_2_per_frame40= |
| 596 | shape_2_per_frame41=a=npz*.15; |
| 597 | shape_2_per_frame42=a=if(below(npz,0),a,0); |
| 598 | shape_2_per_frame43=a2=if(below(npz,0),a2,0); |
| 599 | shape_2_per_frame44=border_a=if(below(npz,0),border_a,0); |
| 600 | shapecode_3_enabled=0 |
| 601 | shapecode_3_sides=100 |
| 602 | shapecode_3_additive=0 |
| 603 | shapecode_3_thickOutline=0 |
| 604 | shapecode_3_textured=1 |
| 605 | shapecode_3_num_inst=1 |
| 606 | shapecode_3_x=0.500 |
| 607 | shapecode_3_y=0.500 |
| 608 | shapecode_3_rad=0.11046 |
| 609 | shapecode_3_ang=0.00000 |
| 610 | shapecode_3_tex_ang=0.00000 |
| 611 | shapecode_3_tex_zoom=1.10462 |
| 612 | shapecode_3_r=0.000 |
| 613 | shapecode_3_g=0.000 |
| 614 | shapecode_3_b=0.000 |
| 615 | shapecode_3_a=1.000 |
| 616 | shapecode_3_r2=1.000 |
| 617 | shapecode_3_g2=1.000 |
| 618 | shapecode_3_b2=0.000 |
| 619 | shapecode_3_a2=1.000 |
| 620 | shapecode_3_border_r=1.000 |
| 621 | shapecode_3_border_g=1.000 |
| 622 | shapecode_3_border_b=1.000 |
| 623 | shapecode_3_border_a=1.000 |
| 624 | shape_3_per_frame1=//planet shadow |
| 625 | shape_3_per_frame2= |
| 626 | shape_3_per_frame3=//sun shadow |
| 627 | shape_3_per_frame4=prad=1.1; |
| 628 | shape_3_per_frame5= |
| 629 | shape_3_per_frame6=s_px=cos(8886)*prad; |
| 630 | shape_3_per_frame7=s_py=sin(8886)*prad; |
| 631 | shape_3_per_frame8=s_pz=0; |
| 632 | shape_3_per_frame9=//yrot to sphere surface |
| 633 | shape_3_per_frame10=s_npx=(s_px*cos(0))+(s_pz*sin(0)); |
| 634 | shape_3_per_frame11=s_npz=(-s_px*sin(0))+(s_pz*cos(0)); |
| 635 | shape_3_per_frame12=s_npy=s_py; |
| 636 | shape_3_per_frame13= |
| 637 | shape_3_per_frame14=//xrot |
| 638 | shape_3_per_frame15=theta=q6; |
| 639 | shape_3_per_frame16=s_px=s_npx; |
| 640 | shape_3_per_frame17=s_py=s_npy; |
| 641 | shape_3_per_frame18=s_pz=s_npz; |
| 642 | shape_3_per_frame19=s_npy=(s_py*cos(theta))+(s_pz*-sin(theta)); |
| 643 | shape_3_per_frame20=s_npz=(s_py*sin(theta))+(s_pz*cos(theta)); |
| 644 | shape_3_per_frame21= |
| 645 | shape_3_per_frame22=//yrot |
| 646 | shape_3_per_frame23=theta=q7; |
| 647 | shape_3_per_frame24=s_px=s_npx; |
| 648 | shape_3_per_frame25=s_py=s_npy; |
| 649 | shape_3_per_frame26=s_pz=s_npz; |
| 650 | shape_3_per_frame27=s_npx=(s_px*cos(theta))+(s_pz*sin(theta)); |
| 651 | shape_3_per_frame28=s_npz=(-s_px*sin(theta))+(s_pz*cos(theta)); |
| 652 | shape_3_per_frame29= |
| 653 | shape_3_per_frame30=//zrot |
| 654 | shape_3_per_frame31=theta=q8; |
| 655 | shape_3_per_frame32=s_px=s_npx; |
| 656 | shape_3_per_frame33=s_py=s_npy; |
| 657 | shape_3_per_frame34=s_pz=s_npz; |
| 658 | shape_3_per_frame35=s_npx=(s_px*cos(theta))+(s_py*-sin(theta)); |
| 659 | shape_3_per_frame36=s_npy=(s_px*sin(theta))+(s_py*cos(theta)); |
| 660 | shape_3_per_frame37= |
| 661 | shape_3_per_frame38=s_x=s_npx+.5; |
| 662 | shape_3_per_frame39=s_y=(s_npy*1.3)+.5; |
| 663 | shape_3_per_frame40= |
| 664 | shape_3_per_frame41=d=sqrt((s_npy*s_npy)+(s_npx*s_npx)); |
| 665 | shape_3_per_frame42=a=if(below(s_npz,0),a*(1-(.2*d)),a*d*.6); |
| 666 | shape_3_per_frame43=a2=if(below(s_npz,0),a2*(1-(.2*d)),a2*d*.6); |
| 667 | per_frame_init_1=x1 = 0; |
| 668 | per_frame_init_2=y1 = 0; |
| 669 | per_frame_1=zoom = 1.0; |
| 670 | per_frame_2= |
| 671 | per_frame_3=q1 = .1*(bass-treb); |
| 672 | per_frame_4= |
| 673 | per_frame_5=vvb = if(below(vvb,0),0,vvb); |
| 674 | per_frame_6=vvm = if(below(vvm,0),0,vvm); |
| 675 | per_frame_7=vvt = if(below(vvt,0),0,vvt); |
| 676 | per_frame_8=vb = vb*0.85 + (1-vb)*pow(bass,2)*0.001; |
| 677 | per_frame_9=vvb = vvb*0.95 + (1-vvb)*vb*0.2; |
| 678 | per_frame_10=vm = vm*0.85 + (1-vm)*pow(mid,2)*0.01; |
| 679 | per_frame_11=vvm = vvm*0.95 + (1-vvm)*vm*0.2; |
| 680 | per_frame_12=vt = vt*0.85 + (1-vt)*pow(treb,2)*0.001; |
| 681 | per_frame_13=vvt = vvt*0.95 + (1-vvt)*vt*0.2; |
| 682 | per_frame_14= |
| 683 | per_frame_15=q1 = (vvb-vvt)*vvm;//0.5 + vb - vvb; |
| 684 | per_frame_16=q2 = vvm;//0.5 + vm - vvm; |
| 685 | per_frame_17=q3 = vvt;//0.5 + vt - vvt; |
| 686 | per_frame_18= |
| 687 | per_frame_19=v=0.2; |
| 688 | per_frame_20=d = 0;//v*0.2; |
| 689 | per_frame_21=bb = bb + vvb*v - d; |
| 690 | per_frame_22=mm = mm + vvm*v - d; |
| 691 | per_frame_23=tt = tt + vvt*v - d; |
| 692 | per_frame_24=q4 = bb; |
| 693 | per_frame_25=q5 = mm; |
| 694 | per_frame_26=q6 = tt; |
| 695 | per_frame_27= |
| 696 | per_frame_28= |
| 697 | per_frame_29=q4 = if(above(abs(q1),0.02),0.99,1); |
| 698 | per_frame_30=q9 = 0.5 + 0.5*sin(time*0.14); |
| 699 | comp_1=`shader_body |
| 700 | comp_2=`{ |
| 701 | comp_3=` float rad_lq = rad * length(texsize.xy)*0.5; |
| 702 | comp_4=` float ang_lq = ang; |
| 703 | comp_5=` float2 uv_temp1 = (uv - 0.5) * texsize.xy; |
| 704 | comp_6=` float rad_hq = length(uv_temp1); |
| 705 | comp_7=` float ang_hq = atan2(-uv_temp1.y, uv_temp1.x); |
| 706 | comp_8=` |
| 707 | comp_9=` float2 uv2 = (uv - 0.5); |
| 708 | comp_10=` float rad2 = rad_lq*0.8; |
| 709 | comp_11=` float ang2 = ang_lq * M_INV_PI_2; |
| 710 | comp_12=` |
| 711 | comp_13=` // ROTATION OVER TIME |
| 712 | comp_14=` #if 1 |
| 713 | comp_15=` ang2 += q9; //rotate over time |
| 714 | comp_16=` #endif |
| 715 | comp_17=` |
| 716 | comp_18=` // FIN TYPE |
| 717 | comp_19=` //float fins = 1 + floor(rand_preset.z*5.95); |
| 718 | comp_20=` float fins = 3 + floor(rand_preset.z*2.95); |
| 719 | comp_21=` |
| 720 | comp_22=` #if 1 // SHARP FINS |
| 721 | comp_23=` ang2 = frac(ang2*fins)/fins; |
| 722 | comp_24=` // ENABLE THIS TO MAKE THE FINS ALTERNATE: (seamless!) |
| 723 | comp_25=` ang2 = abs(ang2 - 0.5/fins); |
| 724 | comp_26=` #else // COSINE FINS - a bit slow |
| 725 | comp_27=` ang2 = cos(ang2*M_PI_2*fins) * 0.023; |
| 726 | comp_28=` #endif |
| 727 | comp_29=` |
| 728 | comp_30=` // RADIAL KALEIDOSCOPING? |
| 729 | comp_31=` #if 0 |
| 730 | comp_32=` rad2 *= g_fTexSize.z; |
| 731 | comp_33=` // choose one: |
| 732 | comp_34=` //rad2 = lerp(rad2, frac(rad2*3)/3.0, 0.5); |
| 733 | comp_35=` rad2 = cos(rad2*5); |
| 734 | comp_36=` //rad2 = sqrt(rad2)*0.5; |
| 735 | comp_37=` //rad2 += abs(frac(rad2*7)-0.5)/7.0 * 1.15; // stepifier |
| 736 | comp_38=` //rad2 += cos(rad2*61)*0.02; |
| 737 | comp_39=` rad2 *= g_fTexSize.x; |
| 738 | comp_40=` #endif |
| 739 | comp_41=` |
| 740 | comp_42=` ang2 *= M_PI_2; |
| 741 | comp_43=` uv2 = 0.5 + rad2*float2(cos(ang2),sin(ang2))*texsize.zw; |
| 742 | comp_44=` |
| 743 | comp_45=` ret = tex2D(sampler_main, uv2).xyz; |
| 744 | comp_46=` ret *= 1.2; // a little bit of overbright |
| 745 | comp_47=`} |